package com.mycar2w.cloud.service.utils;

/**
 * created time 2017/4/7
 *
 * @author ljc
 * @version V1.0
 */
public class ConvertString {
    public static String convert(String str){
        String [] strs=str.split("_");
        String result="";
        for(String temp:strs){
            String first=temp.substring(0,1);
            String up=first.toUpperCase();
            result=result+up+temp.substring(1,temp.length());
        }
        return result;
    }
}
